<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	.btn{
		border:#666 1px solid;
		padding:2px;
		width:50px;
		filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0StartColorstr=#ffffff,EndColorStr=#ece9d8);
	}
</style>
<script type="text/javascript" src="../../js/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
	//bind函数进行函数绑定
	$(function(){
		//bind绑定  bind(type,[data],fn)绑定多个事件，可以并列，用逗号隔开
		$("#btnBind").bind("click mouseout",function(){
			$(this).attr("disabled","disabled");
		});
	})
</script>
</head>
<body>
	
	<input id="btnBind" type="button" value="Button" class="btn" />
	
	<div>姓名：<input type="text" class="txt" /></div>
	<div id="divTip" class="clsTip"></div>
</body>
</html>